package com.humi.partner;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import com.humi.cloud.feign.EnableFeignClients;

import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@EnableEurekaClient
@EnableFeignClients
@Import({
    BeanValidatorPluginsConfiguration.class
})
@EnableAsync(proxyTargetClass = true)
@SpringBootApplication(scanBasePackages = "com.humi")
public class HumiPartnerApplication {

	public static void main(String[] args) {
		SpringApplication.run(HumiPartnerApplication.class, args);
	}

}
